// 导入全局插件
import PageTool from '@/views/social/index.vue'

// 导入 excel 全局插件
import Excel from '@/components/addExcel'

// 导入 分页 全局组件
import Pagination from '@/components/componentsPagination'

// 添加权限、修改权限 弹窗
import ComponentPermissionShow from '@/views/permission/compments/Component-permission-show.vue'

// 导查看权限弹窗
import ComponetPermissionExamine from '@/views/permission/compments/Componet-permission-examine.vue'

// 添加权限点弹窗
import ComponentRoleShow from '@/views/permission/compments/Component-role-show.vue'

// 公司设置 分配权限模块
import ComponentAllocationJurisdiction from '@/views/setting/component/Component-allocation-jurisdiction.vue'

export default {
  // eslint-disable-next-line space-before-function-paren
  install: function (Vue) {
    Vue.component(PageTool.name, PageTool)
    // 导入 excel 全局插件
    Vue.component(Excel.name, Excel)

    // 导入 分页 全局组件
    Vue.component(Pagination.name, Pagination)

    // 添加权限、修改权限 弹窗
    Vue.component(ComponentPermissionShow.name, ComponentPermissionShow)

    // 查看权限弹窗
    Vue.component(ComponetPermissionExamine.name, ComponetPermissionExamine)

    // 添加权限点弹窗
    Vue.component(ComponentRoleShow.name, ComponentRoleShow)

    // 公司设置 分配权限弹窗
    Vue.component(ComponentAllocationJurisdiction.name, ComponentAllocationJurisdiction)
  }
}
